# 计算第一个表达式 x1
x1_expr = "x = (2^4 + 7 - 3×4) / 5"
x1 = (2**4 + 7 - 3 * 4) / 5

# 计算第二个表达式 x2
x2_expr = "x = (1 + 3^2) × (16 mod 7) / 7"
x2 = (1 + 3**2) * (16 % 7) / 7

# 输出表达式和计算结果
print(f"{x1_expr} = {x1:.2f}")
print(f"{x2_expr} = {x2:.2f}")
